package dk.itu.mmad.fragmentlifecycle;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.util.Log;

public class MainActivity extends FragmentActivity {
	
	public static final String TAG_NAME = "fragmentlifecycle";

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Log.i(TAG_NAME, "In MainActivity.onCreate.");
		setContentView(R.layout.main);
	}

	@Override
	protected void onDestroy() {
		super.onDestroy();
		Log.i(TAG_NAME, "In MainActivity.onDestroy.");
	}

	@Override
	protected void onPause() {
		super.onPause();
		Log.i(TAG_NAME, "In MainActivity.onPause.");
	}

	@Override
	protected void onRestart() {
		super.onRestart();
		Log.i(TAG_NAME, "In MainActivity.onRestart.");
	}

	@Override
	protected void onResume() {
		super.onResume();
		Log.i(TAG_NAME, "In MainActivity.onResume.");
	}

	@Override
	protected void onStart() {
		super.onStart();
		Log.i(TAG_NAME, "In MainActivity.onStart.");
	}

	@Override
	protected void onStop() {
		super.onStop();
		Log.i(TAG_NAME, "In MainActivity.onStop.");
	}

}
